package com.walter.epay.param.response;

import java.io.Serializable;

/**
 * 创建订单接口响应数据
 *
 * @author wuchenxi
 * @date 2022-12-31 14:26:08
 */
public class EpayCreateOrderResponse implements Serializable {
    /**
     * 商户支付单号
     */
    private String payId;
    /**
     * 云端订单号，可用于查询订单是否支付成功
     */
    private String orderId;
    /**
     * 微信支付为1 支付宝支付为2
     */
    private Integer payType;
    /**
     * 订单金额
     */
    private Double price;
    /**
     * 实际支付金额
     */
    private Double reallyPrice;
    /**
     * 支付二维码图片url
     */
    private String payUrl;
    /**
     * 1需要手动输入金额 0扫码后自动输入金额
     */
    private Integer isAuto;
    /**
     * -1：订单过期 0：等待支付 1：支付成功
     */
    private Integer state;
    /**
     * 订单有效时间（分钟）
     */
    private Integer timeOut;
    /**
     * 订单创建时间时间戳（13位）
     */
    private Long date;

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getReallyPrice() {
        return reallyPrice;
    }

    public void setReallyPrice(Double reallyPrice) {
        this.reallyPrice = reallyPrice;
    }

    public String getPayUrl() {
        return payUrl;
    }

    public void setPayUrl(String payUrl) {
        this.payUrl = payUrl;
    }

    public Integer getIsAuto() {
        return isAuto;
    }

    public void setIsAuto(Integer isAuto) {
        this.isAuto = isAuto;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(Integer timeOut) {
        this.timeOut = timeOut;
    }

    public Long getDate() {
        return date;
    }

    public void setDate(Long date) {
        this.date = date;
    }
}
